import { createRouter, createWebHashHistory } from 'vue-router'
export default createRouter({
    history: createWebHashHistory(),
    routes:[
        {
            path: '/',
            name: 'home',
            component: () => import('../views/My.vue'),
        },
        {
            path: '/login',
            name: 'login',
            component: () => import('../views/Login.vue'),
        },
        {
            path: '/reg',
            name: 'reg',
            component: () => import('../views/Reg.vue'),
        },
        {
            path: '/my',
            name: 'my',
            component: () => import('../views/My.vue'),
        },
        {
            path: '/detail',
            name: 'detail',
            component: () => import('../views/Detail.vue'),
        },
        {
            path: '/watch',
            name: 'watch',
            component: () => import('../views/Watch.vue'),
        }
    ]
})